package com.iot.core.manager.auth;

import com.iot.core.data.BaseDto;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.util.Dictionary;
import java.util.HashMap;
import java.util.Map;

@Data
@Schema(name="登录Dto",description = "")
public class LoginDto extends BaseDto {


    @Schema(name="用户名",description = "")
    private  String ename="";;

    @Schema(name="密码",description = "")
    private  String pwd="";;

    @Schema(name="平台编号",description = "")
    private  Long htplatId=0L;

    @Schema(name="结构编号",description = "")
    private  Long htdeptId=0L;

    @Schema(name="登录方式",description = "网站、小程序、安卓终端")
    private  String loginway="";;

    @Schema(name="验证码ID",description = "")
    private  String yzmId="";;

    @Schema(name="验证码",description = "")
    private  String yzmValue="";;


    @Schema(name="额外信息",description = "")
    private Map<String,String> extra;

    public LoginDto()
    {
        extra = new HashMap<>();
    }

}
